package com.drugmanage.entity;

import com.drugmanage.Base.BaseEntity;

import java.util.ArrayList;
import java.util.List;

public class User extends BaseEntity {
    /**
     * id
     * 主键
     */
    private Integer id;

    /**
     * username
     * 姓名
     */
    private String username;

    /**
     * pwd
     * 密码
     */
    private String pwd;

    /**
     * mobile
     * 手机号码
     */
    private String mobile;

    private String roleIdsStr;
    private String roleNames;

    private List<Integer> roleIds = new ArrayList<>();

    public List<Integer> getRoleIds() {
        return roleIds;
    }

    public void setRoleIds(List<Integer> roleIds) {
        this.roleIds = roleIds;
    }

    public String getRoleIdsStr() {
        return roleIdsStr;
    }

    public void setRoleIdsStr(String roleIdsStr) {
        this.roleIdsStr = roleIdsStr;
    }

    public String getRoleNames() {
        return roleNames;
    }

    public void setRoleNames(String roleNames) {
        this.roleNames = roleNames;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPwd() {
        return pwd;
    }

    public void setPwd(String pwd) {
        this.pwd = pwd;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }
}